package com.leyou.item.inter.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zqq
 * @ClassName BrandUpdateDTO
 * @Description： 品牌新增或修改类
 * @date 2020/3/6-16:23
 */
@Data
@ApiModel(value = "BrandUpdateDTO", description = "品牌新增或修改类")
public class BrandUpdateDTO {

    /** 品牌id  */
    @ApiModelProperty(value = "品牌id", name = "id")
    private Long id;

    /** 品牌名称 */
    @ApiModelProperty(value = "品牌名称", name = "name",required = true)
    private String name;

    /** 品牌图片地址 */
    @ApiModelProperty(value = "品牌图片地址", name = "image")
    private String image;

    /** 品牌的首字母 */
    @ApiModelProperty(value = "品牌的首字母", name = "letter")
    private String letter;

    /** 商品分类id集  */
//    @ApiModelProperty(value = "商品分类id集", name = "cids",required = true)
//    private List<Long> cids;

    /** 接口类型：0/新增品牌，1/编辑品牌  */
    @ApiModelProperty(value = "接口类型：0/新增品牌，1/编辑品牌", name = "type",required = true)
    private int type;
}
